package com.liuzu.esys.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 太上老君保佑：代码，绿绿绿绿绿！！！！！
 *
 * @Description :
 * @Author : 冯小冯
 * @Date : 2022-07-26 19:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OutStorageBo {
    @ExcelProperty(value = "商品编号")
    private Integer id;    //商品编号
    @ExcelProperty(value = "商品名称")
    private String name;   //商品名称
    @ExcelProperty(value = "商品类型")
    private String type;   //类型
    @ExcelProperty(value = "商品发货地")
    private String address;  //商品发货地
    @ExcelProperty(value = "发货数量")
    private Integer number; //发货数量
    @ExcelProperty(value = "负责人")
    private String manger;  //负责人
    @ExcelProperty(value = "联系方式")
    private String phone;  //联系方式
    @ExcelProperty(value = "发货日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;  //发货日期
}
